﻿<%@ Page Title="Conversation" Language="C#" EnableEventValidation="false" MasterPageFile="~/MasterPage.Master" AutoEventWireup="true" CodeBehind="Conversation.aspx.cs" Inherits="Yeti_v0._01.Conversation"%>

<asp:Content ID="Content1" ContentPlaceHolderID="Header" runat="server">
    <script type="text/javascript" src="Scripts/jquery.js"></script>
    <script type="text/javascript" src="Scripts/answer.js"></script>
    <script language="javascript" type="text/javascript">
// <![CDATA[

        function send_onclick() {

        }

// ]]>
    </script>
</asp:Content>

<asp:Content id="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="center" runat="server">
        <div id="yeti_avatar" runat="server">
            <img src="images/yeti.jpg" />
        </div >
        <div>
            <form id="form1" runat="server">
             <asp:ScriptManager EnablePartialRendering="true" ID="ScriptManager1" runat="server">
             </asp:ScriptManager>
            <asp:UpdatePanel ID="UpdatePanel1" runat="Server" UpdateMode="Conditional">
                <ContentTemplate>
                    <asp:Panel id="conversation" runat="server" ScrollBars="Auto" >
                    </asp:Panel>
                    <asp:TextBox id="question_input1" runat="server" />
                    <asp:Button id="Button1" Text="Send" OnClick="Button1_Click1" runat="server"/> 
                    <asp:Button ID="sendLogButton" runat="server" 
                            Text="Send Log" onclick="sendLogButton_Click" />
                    <asp:Button ID="clearConversationButton" runat="server" 
                        onclick="clearConversationButton_Click" Text="Clear Conversation" />
                </ContentTemplate>
<%--                <Triggers>
                    <asp:AsyncPostBackTrigger ControlID="Button1" EventName="Click" />
                </Triggers>--%>
            </asp:UpdatePanel>
            </form>
        </div>
        <div id="conversation_input" runat="server">
            <input id="question_input" runat="server" />
            <button id="send" title="send" runat="server" onclick="return send_onclick()">kliknij</button>                     
        &nbsp;DEBUG MODE
           
        </div> 
       

        
    </div>

</asp:Content>
